package com.openbravo.bean.erp.ordercalc;

import java.util.Date;
import java.util.HashMap;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

public class OrderTypeCalcConfig implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey{
	/**
	 * 
	 */
	private static final long serialVersionUID = 211869838877497252L;
	private String id;
	private Date lastModified;
    String orderTypeId;
    String orderCalcId;
    boolean abled;
    HashMap<String,String> properties;
    
	public String getOrderTypeId() {
		return orderTypeId;
	}

	public void setOrderTypeId(String orderTypeId) {
		this.orderTypeId = orderTypeId;
	}

	public String getOrderCalcId() {
		return orderCalcId;
	}

	public void setOrderCalcId(String orderCalcId) {
		this.orderCalcId = orderCalcId;
	}

	public boolean isAbled() {
		return abled;
	}

	public void setAbled(boolean abled) {
		this.abled = abled;
	}

	public HashMap getProperties() {
		return properties;
	}

	public void setProperties(HashMap attr) {
		this.properties = attr;
	}

	@Override
	public String getKey() {
		return id;
	}

	@Override
	public void setKey(String key) {
		this.id=key;
	}
   
	@Override
	public Date getLastModified() {
		
		return this.lastModified;
	}

	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;
	}
   
}
